﻿@model IEnumerable<Janus.Mes.DTO.SysConfigDTO>
@{
    Layout = null;
}
<style>
    .panel p {
        width: 260px;
    }

        .panel p label {
            width: auto;
        }
    .active {
        font-size: 14px;
        font-weight: bold;
    }
    .gdInfo {
        cursor:default;
    }
        .bottomLine:hover {
            font-size: 14px;
        border-bottom:1px dashed #578990;
        }

        .gdInfo li {
            float: left;
            font-size: 14px;
            line-height: 30px;
            padding-right: 30px;
        }

    .rPadding {
        padding-right: 10px;
    }
        .rPadding a {
            color:#0802FF;
        }
    .bottomLine {
        padding: 5px;
        border-bottom:1px dashed #CCDADC;
        display: inline-table;
    }
</style>
<div class="pageContent">
    @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
    <div class="panelBar">
        <ul class="toolBar">
            <li class=""><a class="add" href="Manufacturing/Schedule/GetMachineList" target="ajax" rel="gdBox"><span><span class="view "></span>查看明细</span></a></li>
            <li class=""><a class="add" href="#" target="ajax" rel="gdBox"><span><span class="icon104 "></span>保存</span></a></li>
            <li class=""><a class="add" href="#" target="ajax" rel="gdBox"><span><span class="icon109 "></span>清除</span></a></li>
        </ul>
    </div>

    <!--工单信息-->
    <div class="panel collapse">
        <h1>工单信息</h1>
        <div class="pageFormContent">
            <div class="bottomLine ">
                <ul class="gdInfo">
                    <li>
                        <span>工单单号项次：</span>
                        <span class="rPadding">
                            <a href="Manufacturing/Schedule/WorkRequestInfo/8" target="dialog" mask="true" max="true">
                                WO16010001-001
                            </a>
                        </span>
                    </li>
                    <li>
                        <span>物料编码：</span>
                        <span class="rPadding">800-M168-F007R10 </span>
                    </li>
                    <li>
                        <span>交货日期：</span>
                        <span class="rPadding">2016-04-16</span>
                    </li>
                    <li>
                        <span>工单状态：</span>
                        <span class="rPadding">打开 </span>
                    </li>
                    <li>
                        <span>数量：</span>
                        <span class="rPadding">1000</span>
                    </li>
                    <li>
                        <span>完工数量：</span>
                        <span class="rPadding">1000</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <!--工序信息-->
    <div class="panel collapse">
        <h1>工序信息</h1>
        <div class="pageFormContent">
            <div class="bottomLine ">
                <ul class="gdInfo">
                    <li>
                        <span>【CNC1】：</span>
                        <span class="rPadding">下料</span>
                    </li>
                    <li>
                        <span>开始日期：</span>
                        <span class="rPadding">2016-04-014</span>
                    </li>
                    <li>
                        <span>总需求数量：</span>
                        <span class="rPadding">850</span>
                    </li>
                    <li>
                        <span>已排产数量：</span>
                        <span class="rPadding">200 </span>
                    </li>
                    <li>
                        <span>可排产数量：</span>
                        <span class="rPadding">650</span>
                    </li>
                </ul>
            </div>
            <div class="bottomLine active">
                <ul class="gdInfo">
                    <li>
                        <span>【CNC1】：</span>
                        <span class="rPadding">切割</span>
                    </li>
                    <li>
                        <span>开始日期：</span>
                        <span class="rPadding">2016-04-014</span>
                    </li>
                    <li>
                        <span>总需求数量：</span>
                        <span class="rPadding">850</span>
                    </li>
                    <li>
                        <span>已排产数量：</span>
                        <span class="rPadding">200 </span>
                    </li>
                    <li>
                        <span>可排产数量：</span>
                        <span class="rPadding">650</span>
                    </li>
                </ul>
            </div>
            <div class="bottomLine ">
                <ul class="gdInfo">
                    <li>
                        <span>【CNC1】：</span>
                        <span class="rPadding">拉伸钻孔</span>
                    </li>
                    <li>
                        <span>开始日期：</span>
                        <span class="rPadding">2016-04-014</span>
                    </li>
                    <li>
                        <span>总需求数量：</span>
                        <span class="rPadding">850</span>
                    </li>
                    <li>
                        <span>已排产数量：</span>
                        <span class="rPadding">200 </span>
                    </li>
                    <li>
                        <span>可排产数量：</span>
                        <span class="rPadding">650</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <!--排产面板-->
    <div class="panel collapse">
        <h1>排产面板</h1>
        <div class="pageFormContent" style="height:80px;">
            <p>
                <label>&nbsp;&nbsp;工作中心：</label>
                <select class="textInput">
                    <option>工作中心1（机台1）</option>
                    <option>工作中心2（机台2）</option>
                    <option>工作中心3（机台3）</option>
                    <option>工作中心4（机台4）</option>
                </select>
            </p>
            <p>
                <label>排产数量：</label>
                <input type="text" size="30" class="textInput">
            </p>
            <p>
                <label>已排产数量：</label>
                <input type="text" size="30" class="textInput">
            </p>
            <p>
                <label>预计开始时间：</label>
                <input type="text" class="date" id="sdate" value="@DateTime.Now.ToString("yyyy-MM-dd hh:mm")">
            </p>
            <p>
                <label>预计结束时间：</label>
                <input type="text" class="date" id="sdate" value="@DateTime.Now.ToString("yyyy-MM-dd hh:mm")">
            </p>
            <p>
                <label>排产方式：</label>
                <label><input type="radio" name="r1" checked="checked">手动排产</label>
                <label><input type="radio" name="r1">自动排产</label>
            </p>

            <p>
                <label>排产方式：</label>
                <label><input type="radio" name="r1" checked="checked">手动排产</label>
                <label><input type="radio" name="r1">自动排产</label>
            </p>

        </div>
    </div>
    <div  class="MyPanel" layouth="565">
        <table class="list" width="100%" >
            <thead>
                <tr class="header">
                    <th width="30"><input type="checkbox" class="checkboxCtrl" group="id1"> </th>
                    <th>排程单号</th>
                    <th>设备编码</th>
                    <th>设备名称</th>
                    <th>所属工作中心</th>
                    <th>数量</th>
                    <th>设备组</th>
                    <th>设备组名称</th>
                    <th>开始时间</th>
                    <th>结束时间</th>
                    <th>下达状态</th>
                    <th>排产数量</th>
                </tr>
            </thead>
            <tbody>
                <tr target="id" rel="7" data-tt-id="8">
                    <td><input id="id1" name="id1" type="checkbox" /></td>
                    <td>0001</td>
                   <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
                <tr target="id" rel="2" data-tt-id="8">
                    <td><input id="id1" name="id1" type="checkbox" /> </td>
                    <td>0001</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
                <tr rel="2" data-tt-id="8">
                    <td>
                        <input id="id1" name="id1" type="checkbox" />
                    </td>
                    <td>0002</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
                <tr rel="2" data-tt-id="8">
                    <td>
                        <input id="id1" name="id1" type="checkbox" />
                    </td>
                    <td>0002</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>

                <tr rel="2" data-tt-id="8">
                    <td>
                        <input id="id1" name="id1" type="checkbox" />
                    </td>
                    <td>0003</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
                <tr rel="2" data-tt-id="8">
                    <td>
                        <input id="id1" name="id1" type="checkbox" />
                    </td>
                    <td>0004</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
                <tr rel="2" data-tt-id="8">
                    <td>
                        <input id="id1" name="id1" type="checkbox" />
                    </td>
                    <td>0005</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
                <tr rel="2" data-tt-id="8">
                    <td>
                        <input id="id1" name="id1" type="checkbox" />
                    </td>
                    <td>0006</td>
                    <td>800-M168-F007R10 </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>
                        <input name="txtNumber" type="text" value="0" />
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>

